package com.landiao.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.landiao.entities.BackstageUser;


public interface BackstageUserMapper extends BaseMapper<BackstageUser,String>{
    int deleteByPrimaryKey(String backstageUserId);

    int insert(BackstageUser record);

    int insertSelective(BackstageUser record);

    BackstageUser selectByPrimaryKey(String backstageUserId);

    int updateByPrimaryKeySelective(BackstageUser record);

    int updateByPrimaryKey(BackstageUser record);
    
    BackstageUser selectByAccount(String account);
    
    BackstageUser selectByAccountAndPwd(@Param("account")String account,@Param("passwd")String passwd);
    
    List<BackstageUser> selectMainShopAccByCompId(String compId);
}